package com.allenkerr.rpc_sample.Service;

import com.allenkerr.rpc_sample.pojo.User;

import java.util.List;

/**
 * Created by 小柯(Allen Kerr) on 17.5.24 10:36.
 */
public interface UserService {

    User getUserById(Integer userId);

    List<User> getAll();
}
